package com.dk.service.impl;

import com.dk.mapper.TbUserScoreUseMapper;
import com.dk.pojo.TbUserScoreUse;
import com.dk.service.UserScoreUseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * @Deacription TODO
 * @Author 陆小军
 * @Date 2020/12/28 10:17
 * @Version 1.0
 **/
@Service
public class UserScoreUseServiceImpl implements UserScoreUseService {

    @Resource
    private TbUserScoreUseMapper userMapper;

    @Override
    public List<TbUserScoreUse> selectScoreByDate(Date date) {
        return userMapper.selectScoreByDate(date);
    }

    @Override
    public List<String> selectUserIdByDate(Date date) {
        return userMapper.selectUserIdByDate(date);
    }

    @Override
    public void deleteBatch(List<Long> idList) {
        userMapper.deleteBatch(idList);
    }
}
